package com.jokey.vue.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: JokeyZheng
 * @email: zhengjingfeng@ruqimobility.com
 * @created: 2021/11/25 20:36
 * @version: v1.0.0
 * <p>系统消息表</p>
 */
@Data
@TableName(value = "sys_msg", autoResultMap = true)
public class SysMsg implements Serializable {

    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 消息ID
     */
    private Integer mId;

    /**
     * HR的id，这条消息是给谁的
     */
    private Integer hrId;

    /**
     * 消息类型，0表示群发消息
     */
    private Byte type;

    /**
     * 0-未读 1-已读
     */
    private Byte state;

}
